<?php
/**
 * File: artistcooperationschedule.php.
 * Author: CaoQiCheng
 * Editor: PhpStorm
 * Date: 16/6/22 下午15:45
 * Brief:
 */
namespace haibao\cms\model\data\artist;

class ArtistCooperationSchedule extends \haibao\cms\model\data\Base{
	const TYPE_BUILD = 1;
	const TYPE_COMPLETE = 2;
	const TYPE_MOVIE = 4;
	const TYPE_SHOW = 8;
	const TYPE_HIGHER = 16;
	const TYPE_OTHER = 32;
	
	public static $ScheduleTypes = array(
			self::TYPE_BUILD=>'建立联系',
			self::TYPE_COMPLETE=>'完成约访',
			self::TYPE_MOVIE=>'大片拍摄',
			self::TYPE_SHOW=>'视频拍摄',
			self::TYPE_HIGHER=>'更深度配合',
			self::TYPE_OTHER=>'其他配合',
	);
	
	
	/**
	 * 保密主表的id
	 */
	public $ArtistInsideId;
	/**
	 * 合作类型 1建立联系2完成约访3大片拍摄4视频拍摄5更深度配合(如翻包直播等)6其他配合
	 */
	public $ScheduleType;
	/**
	 * 进度时间
	 */
	public $ScheduleDate;
	/**
	 * 进度描述
	 */
	public $ScheduleDesc;

	public function __construct(){
		parent::__construct();
		$this->intField('ArtistInsideId', 'ArtistInsideId',true);
		$this->intField('ScheduleType', 'ScheduleType',true);
		$this->dateField('ScheduleDate', 'ScheduleDate');
		$this->stringField('ScheduleDesc', 'ScheduleDesc');

		$this->setTableName('ArtistCooperationSchedule');
	}
}